package com.novellotus.iov.carvice.bean;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

/**
 * Created by Rich on 2017/7/31.
 */

public class MyJsonBean implements IPickerViewData {


    /**
     * name : 北京
     * city : [{"name":"北京市"}]
     */

    private String name;
    private List<CityBean> city;

    @Override
    public String getPickerViewText() {
        return this.name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityBean> getCity() {
        return city;
    }

    public void setCity(List<CityBean> city) {
        this.city = city;
    }

    public static class CityBean {
        /**
         * name : 北京市
         */

        private String name;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
